package guowei.common.constant;

/**
 * 状态[0新建，1已分配，2正在采购，3已完成，4采购失败]
 */

public enum PurchaseStatus {
    NEW_TYPE(0,"新建"),FENPEI_TYPE(1,"已分配"),
    SHOWING_TYPE(2,"已领取"),FINISH_TYPE(3,"已完成"),
    FAILED_TYPE(4,"有异常");

    private int type;
    private String msg;

    PurchaseStatus(int type, String msg) {
        this.type = type;
        this.msg = msg;
    }

    public int getType() {
        return type;
    }

    public String getMsg() {
        return msg;
    }
}
